package com.minelx.landisk.filesystem;

import com.minelx.landisk.filesystem.core.Directory;
import com.minelx.landisk.filesystem.core.File;
import com.minelx.landisk.filesystem.core.init.OpenPolicy;
import com.minelx.landisk.filesystem.core.provider.FS;

public class Paths {
	@Deprecated
	public static Directory projectRoot() {
		return FS.workingDir();
	}

	@Deprecated
	public static File of(String filePath, OpenPolicy openPolicy) {
		return FS.local().file(filePath, openPolicy);
	}

	@Deprecated
	public static Directory root(String dirPath, OpenPolicy openPolicy) {
		return FS.local().dir(dirPath, openPolicy);
	}
}
